Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODWindowState


CopyBaseMenuBar

The CopyBaseMenuBar method copies the base menu bar object.

ODMenuBar CopyBaseMenuBar ();
return value
A reference to the newly created copy of the base menu bar object.
DISCUSSION
Your part calls this method to create a menu bar object to which it can add its own menus.

This method initializes the reference count of the returned menu bar. When you have finished using that menu bar, you should call its Release method.

SEE ALSO
The ODMenuBar::Copy method (page 399).
The ODWindowState::AcquireBaseMenuBar method (page 849).
The ODWindowState::SetBaseMenuBar method (page 868).
Listing 2-6 on page 45 in OpenDoc Cookbook.
"Adding Part Menus to the Base Menu Bar" on page 241 in OpenDoc Programmer's Guide.
"Factory methods for OpenDoc classes" on page 466 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help